﻿using MediatR;
using Traceability.Enum;

namespace Traceability.App.Applications.Command.TraceabilityManagement
{
    public class AddTraceabilityCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public int? ProductNameid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string ProductionLicense { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Manufacturer { get; set; }
        
        /// <summary>
        /// 封面图
        /// </summary>
        public string? CoverImage { get; set; }
        /// <summary>
        /// 产品检验报告图片
        /// </summary>
        public string? ProductInspectionReportPath { get; set; }


    }
}
